-
Notifications
You must be signed in to change notification settings - Fork 9.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add quicksight group membership resource #20687
Add quicksight group membership resource #20687
Conversation
Thank you for your contribution! 🚀 Please note that typically Go dependency changes are handled in this repository by dependabot or the maintainers. This is to prevent pull request merge conflicts and further delay reviews of contributions. Remove any changes to the Additional details:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Welcome @lacernetic 👋
It looks like this is your first Pull Request submission to the Terraform AWS Provider! If you haven’t already done so please make sure you have checked out our CONTRIBUTING guide and FAQ to make sure your contribution is adhering to best practice and has all the necessary elements in place for a successful approval.
Also take a look at our FAQ which details how we prioritize Pull Requests for inclusion.
Thanks again, and welcome to the community! 😃
…uses aws.stringvalue() to dereference, docs now uses terraform block
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @lacernetic, thank you again for submitting this PR! I've left comments below for your review. Reach out if anything!
…equired, more accurate errors, added finder file that checks if a group_membership exists
@anGie44 I made all the changes you requested but I did have a hiccup when it comes to testing using my finder function. It works upon creation and when checking for disappears, however in the test for existence it fails with this error:
I did some debugging and saw that it's correct that the group no longer exists. I'm not sure why anything is getting deleted during an exist check, and was hoping you might have an idea on what might be going on here. Previously this function would check to see if the group exists, not the group membership (which felt weird to me). Maybe the problem could be something to do with that as well? |
@lacernetic Ah ok no worries! looks like we just need to catch that error in I believe what is happening is that by the time |
… message to be more verbose, deleted testacccheckquicksightgroupmembershipdisappears, removed useless comments, changed state to state context
@lacernetic , thanks for the changes! and don't worry about the failing CI check -- we've noticed it's occurring in |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks again @lacernetic , LGTM 🚀
Output of acceptance tests:
--- PASS: TestAccAWSQuickSightGroupMembership_disappears (18.86s)
--- PASS: TestAccAWSQuickSightGroupMembership_basic (21.94s)
This functionality has been released in v3.58.0 of the Terraform AWS Provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading. For further feature requests or bug reports with this functionality, please create a new GitHub issue following the template. Thank you! |
I'm going to lock this pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. |
Community Note
NOTE: This code is an updated version of issue #11160 created by @mjgpy3. Due to his absence I will take up role in changing it according to the code review.
Relates #10990
Closes #11160
Closes #16609
Output from acceptance testing: